Easy to Create, Easy to Change - Easy to use!

Command::

run procedure



Parameters


Returns/Result


Examples


Reference

run procedure

Type

Control Command

Purpose

The run procedure command opens the specified procedure document and executes its DQL instructions.

Syntax

run procedure "PROCEDURE NAME" .

Usage

The run procedure command automatically opens and runs a previously defined procedure document. When the procedure finishes processing, the Control Procedure automatically resumes with the action following the run procedure command.

The procedure name can be a constant or any expression (including functions) that returns a text string specifying the desired procedure name.

Example

 record entry "MEMBERS" .

 run procedure "PRINT INVOICES" .

 application status records .

 

This script tells DataEase: (1) Display the MEMBERS form so the user can enter new member records, (2) when the user closes the MEMBERS form, run the PRINT INVOICES procedure, then (3) display the status of the records in the current database.

See Also


On the forum about run procedure

Run procedure based on current record view.

Hi all,I was wondering what the best way might be to run a procedure that selects data from the record I am currently viewing and not based on data criteria. In other words while viewing a record I want to click a button that will output dat...

Product: Dataease [{8}]FIVE. Written by Bolt-on-Trailers 13/10/17 at 21:36:01

Re:Run procedure based on current record view.

The best way of doing this is to use ExecDQL either LabelExecDQL or MemoExecDQLExecDQL can output directly to a file and you have 4 direct arguments in the function that will represent data-entry field1 through field4 inside the DQL.Al...

Product: Dataease [{8}]FIVE. Written by DataEase 14/10/17 at 10:41:53

On the blog about run procedure